package com.jy.project.mapper;

import com.hp.hpl.sparta.xpath.ThisNodeTest;
import com.jy.project.domain.Sign;
import com.jy.project.domain.ToDoTasks;
import com.jy.project.dto.SignDTO;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

import java.util.List;

public interface SignMapper extends Mapper<Sign>,InsertListMapper<Sign> {


    List<Sign> listSign(SignDTO sign);

    default int deleteNotOperated(String appLyNo){
        Sign t = new Sign();
        t.setStatus(0);
        t.setApplyNo(appLyNo);
        return delete(t);
    }
}